﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using System.ComponentModel;

namespace MRSite.Entity
{
    /// <summary>
    /// 消费奖励时间标记
    /// </summary>
    [Table(Name = "gold_fenghong_day_flag")]
    public class GoldFengHongDayFlag : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
       // [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false)]
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }


        /// <summary>
        /// 返点时间
        /// </summary>
        [Column(Name = "jesuan_time")]
        public DateTime jesuan_time { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [Column(Name = "addtime")]
        public DateTime addtime { get; set; }

        /// <summary>
        /// 当天赠送共建值量
        /// </summary>
        [Column(Name = "shouru")]
        public Decimal shouru { get; set; }

        /// <summary>
        /// 应返的消费奖励部分
        /// </summary>
        [Column(Name = "returnmoney")]
        public Decimal returnmoney { get; set; }

        /// <summary>
        /// 实际到用户手中的奖励 
        /// </summary>
        [Column(Name = "daozhang")]
        public Decimal daozhang { get; set; }

        /// <summary>
        /// 类别：0日奖励；1半月奖励；2；每日首购奖励释放到锁仓共建值；4：每月25日返还上月手续费；5、2999名实名认证额外奖励
        /// </summary>
        [Column(Name = "type")]
        public int type { get; set; }


    }
}
